import { getCurrentInstance } from '@vue/composition-api'

export default function () {
  const instance = getCurrentInstance()

  return (instance && instance.proxy) || {}
}
